package com.hxexp.weixin.hpe.api.ordersubmit.model;

import java.io.Serializable;

/**
 * 生成订单参数
 * @author li.jiang
 *
 */
public class OrderSubmitParamBean implements Serializable {

    private static final long serialVersionUID = -600019732653914157L;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 出发站编号
     */
    private String startStationId;
    /**
     * 车次唯一编号
     */
    private String regBusNoFoid;
    /**
     * 到达站编号
     */
    private String arriveStationId;
    /**
     * 全票价
     */
    private String price;
    /**
     * 半票价
     */
    private String halfPrice;
    /**
     * 全价站务费
     */
    private String fullStationCharge;
    /**
     * 半价站务费
     */
    private String halfStationCharge;
    /**
     * 发车日期  格式：yyyy-MM-dd
     */
    private String leaveDate;
    /**
     * 发车时间  格式：hh:mm
     */
    private String leaveTime;
    /**
     * 购票数量
     */
    private String ticketNum;
    /**
     * 全票数量
     */
    private String fullTicketNum;
    /**
     * 半票数量
     */
    private String halfTicketNum;
    /**
     * 免票数量
     */
    private String freeTicketNum;
    /**
     * 渠道类型
     */
    private String channelType;
    /**
     * 全票服务费
     */
    private String fullServicePrice;
    /**
     * 半票服务费
     */
    private String halfServicePrice;
    /**
     * 车次名称
     */
    private String regBusNo;
    /**
     * 乘客类型CSV
     */
    private String passengerTypeCSV;
    /**
     * 全票保险费
     */
    private String fullInsurance;
    /**
     * 半票保险费
     */
    private String halfInsurance;
    /**
     * 减免的保费
     */
    private String donatedInsurance;
    /**
     * 线路类型编号
     */
    private String lineTypeId;
    /**
     * 车型名称
     */
    private String busTypeName;
    /**
     * 班次类型 0：固定班，1：流水班
     */
    private String schType;

    /**
     * @return the userId
     */
    public String getUserId() {
        return userId;
    }
    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }
    /**
     * @return the startStationId
     */
    public String getStartStationId() {
        return startStationId;
    }
    /**
     * @param startStationId the startStationId to set
     */
    public void setStartStationId(String startStationId) {
        this.startStationId = startStationId;
    }
    /**
     * @return the regBusNoFoid
     */
    public String getRegBusNoFoid() {
        return regBusNoFoid;
    }
    /**
     * @param regBusNoFoid the regBusNoFoid to set
     */
    public void setRegBusNoFoid(String regBusNoFoid) {
        this.regBusNoFoid = regBusNoFoid;
    }
    /**
     * @return the arriveStationId
     */
    public String getArriveStationId() {
        return arriveStationId;
    }
    /**
     * @param arriveStationId the arriveStationId to set
     */
    public void setArriveStationId(String arriveStationId) {
        this.arriveStationId = arriveStationId;
    }
    /**
     * @return the price
     */
    public String getPrice() {
        return price;
    }
    /**
     * @param price the price to set
     */
    public void setPrice(String price) {
        this.price = price;
    }
    /**
     * @return the halfPrice
     */
    public String getHalfPrice() {
        return halfPrice;
    }
    /**
     * @param halfPrice the halfPrice to set
     */
    public void setHalfPrice(String halfPrice) {
        this.halfPrice = halfPrice;
    }
    /**
     * @return the fullStationCharge
     */
    public String getFullStationCharge() {
        return fullStationCharge;
    }
    /**
     * @param fullStationCharge the fullStationCharge to set
     */
    public void setFullStationCharge(String fullStationCharge) {
        this.fullStationCharge = fullStationCharge;
    }
    /**
     * @return the halfStationCharge
     */
    public String getHalfStationCharge() {
        return halfStationCharge;
    }
    /**
     * @param halfStationCharge the halfStationCharge to set
     */
    public void setHalfStationCharge(String halfStationCharge) {
        this.halfStationCharge = halfStationCharge;
    }
    /**
     * @return the leaveDate
     */
    public String getLeaveDate() {
        return leaveDate;
    }
    /**
     * @param leaveDate the leaveDate to set
     */
    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }
    /**
     * @return the leaveTime
     */
    public String getLeaveTime() {
        return leaveTime;
    }
    /**
     * @param leaveTime the leaveTime to set
     */
    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }
    /**
     * @return the ticketNum
     */
    public String getTicketNum() {
        return ticketNum;
    }
    /**
     * @param ticketNum the ticketNum to set
     */
    public void setTicketNum(String ticketNum) {
        this.ticketNum = ticketNum;
    }
    /**
     * @return the fullTicketNum
     */
    public String getFullTicketNum() {
        return fullTicketNum;
    }
    /**
     * @param fullTicketNum the fullTicketNum to set
     */
    public void setFullTicketNum(String fullTicketNum) {
        this.fullTicketNum = fullTicketNum;
    }
    /**
     * @return the halfTicketNum
     */
    public String getHalfTicketNum() {
        return halfTicketNum;
    }
    /**
     * @param halfTicketNum the halfTicketNum to set
     */
    public void setHalfTicketNum(String halfTicketNum) {
        this.halfTicketNum = halfTicketNum;
    }
    /**
     * @return the freeTicketNum
     */
    public String getFreeTicketNum() {
        return freeTicketNum;
    }
    /**
     * @param freeTicketNum the freeTicketNum to set
     */
    public void setFreeTicketNum(String freeTicketNum) {
        this.freeTicketNum = freeTicketNum;
    }
    /**
     * @return the channelType
     */
    public String getChannelType() {
        return channelType;
    }
    /**
     * @param channelType the channelType to set
     */
    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }
    /**
     * @return the fullServicePrice
     */
    public String getFullServicePrice() {
        return fullServicePrice;
    }
    /**
     * @param fullServicePrice the fullServicePrice to set
     */
    public void setFullServicePrice(String fullServicePrice) {
        this.fullServicePrice = fullServicePrice;
    }
    /**
     * @return the halfServicePrice
     */
    public String getHalfServicePrice() {
        return halfServicePrice;
    }
    /**
     * @param halfServicePrice the halfServicePrice to set
     */
    public void setHalfServicePrice(String halfServicePrice) {
        this.halfServicePrice = halfServicePrice;
    }

    public String getRegBusNo() {
        return regBusNo;
    }

    public void setRegBusNo(String regBusNo) {
        this.regBusNo = regBusNo;
    }
    /**
     * @return the passengerTypeCSV
     */
    public String getPassengerTypeCSV() {
        return passengerTypeCSV;
    }
    /**
     * @param passengerTypeCSV the passengerTypeCSV to set
     */
    public void setPassengerTypeCSV(String passengerTypeCSV) {
        this.passengerTypeCSV = passengerTypeCSV;
    }

    /**
     * @return the fullInsurance
     */
    public String getFullInsurance() {
        return fullInsurance;
    }

    /**
     * @param fullInsurance
     *            the fullInsurance to set
     */
    public void setFullInsurance(String fullInsurance) {
        this.fullInsurance = fullInsurance;
    }

    /**
     * @return the halfInsurance
     */
    public String getHalfInsurance() {
        return halfInsurance;
    }

    /**
     * @param halfInsurance
     *            the halfInsurance to set
     */
    public void setHalfInsurance(String halfInsurance) {
        this.halfInsurance = halfInsurance;
    }

    /**
     * @return the donatedInsurance
     */
    public String getDonatedInsurance() {
        return donatedInsurance;
    }

    /**
     * @param donatedInsurance
     *            the donatedInsurance to set
     */
    public void setDonatedInsurance(String donatedInsurance) {
        this.donatedInsurance = donatedInsurance;
    }
    /**
     * @return the lineTypeId
     */
    public String getLineTypeId() {
        return lineTypeId;
    }
    /**
     * @param lineTypeId the lineTypeId to set
     */
    public void setLineTypeId(String lineTypeId) {
        this.lineTypeId = lineTypeId;
    }

    /**
     * @return the busTypeName
     */
    public String getBusTypeName() {
        return busTypeName;
    }
    /**
     * @param busTypeName the busTypeName to set
     */
    public void setBusTypeName(String busTypeName) {
        this.busTypeName = busTypeName;
    }
    /**
     * @return the schType
     */
    public String getSchType() {
        return schType;
    }
    /**
     * @param schType the schType to set
     */
    public void setSchType(String schType) {
        this.schType = schType;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format(
                "OrderSubmitParamBean [userId=%s, startStationId=%s, regBusNoFoid=%s, arriveStationId=%s, price=%s, halfPrice=%s, fullStationCharge=%s, halfStationCharge=%s, leaveDate=%s, leaveTime=%s, ticketNum=%s, fullTicketNum=%s, halfTicketNum=%s, freeTicketNum=%s, channelType=%s, fullServicePrice=%s, halfServicePrice=%s, regBusNo=%s, passengerTypeCSV=%s, fullInsurance=%s, halfInsurance=%s, donatedInsurance=%s, lineTypeId=%s, busTypeName=%s, schType=%s]",
                userId, startStationId, regBusNoFoid, arriveStationId, price, halfPrice, fullStationCharge, halfStationCharge, leaveDate, leaveTime,
                ticketNum, fullTicketNum, halfTicketNum, freeTicketNum, channelType, fullServicePrice, halfServicePrice, regBusNo, passengerTypeCSV,
                fullInsurance, halfInsurance, donatedInsurance, lineTypeId, busTypeName, schType);
    }

}
